package chapter05;


import java.io.IOException;
public class Test {
    public static void main(String[] args) throws IOException {
        System.out.println("请输入三个0~9之间的数");
        byte x = (byte)System.in.read();
        byte y = (byte)System.in.read();
        byte z = (byte)System.in.read();

        x -= 48;
        y -= 48;
        z -= 48;

        byte m,n;
        if( x > y )
            m = x;
        else
            m = y;

        if( m > z)
            n = m;
        else
            n = z;

        System.out.println(n);

    }
}
